import { createApp } from 'vue'
import { Row, Col } from '@nutui/nutui-taro'
import { Grid, GridItem } from '@nutui/nutui-taro'
import { createPinia } from 'pinia'
import './assets/app.less'

const pinia = createPinia()
const App = createApp({
    onShow(options) {
        console.log('页面开始展示', options)
        // TODO
    }
    // 入口组件不需要实现 render 方法，即使实现了也会被 taro 所覆盖
})

App.use(pinia)
App.use(Row)
App.use(Col)
App.use(Grid)
App.use(GridItem)

export default App
